<!DOCTYPE html>
<html lang="zh">
	<head>
	<meta charset="utf-8">
	<!--1 导入三个标签-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>bootstrap轮播图</title>
	<!--2 引入bootstrap的css-->
	<link rel="stylesheet" href="css/bootstrap.css" />
	
	</head>
	<body>
		
	<div class="container">	
		<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>

  <!-- Wrapper for slides -->
  <div class="carousel-inner" role="listbox">
    <div class="item active">
      <img src="img/005.jpg" alt="..." style="width: 100%; height: 200px;">
      <div class="carousel-caption">
        1
      </div>
    </div>
    <div class="item">
      <img src="img/006.jpg" alt="..." style="width: 100%; height: 200px;">
      <div class="carousel-caption">
        2
      </div>
    </div>
     <div class="item">
      <img src="img/007.jpg" alt="..." style="width: 100%; height: 200px;">
      <div class="carousel-caption">
        3
      </div>
    </div>
  </div>

  <!-- Controls -->
  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>
		</div>
		<!--3引入jQuery-->
		<script type="text/javascript" src="js/jquery-1.12.4.js" ></script>
		<!--4引入bootstrap的js-->
		<script type="text/javascript" src="js/bootstrap.js" ></script>
	</body>
</html>
